/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 *
 * @author Student
 */
public class Transaksi {
    private String id;
    private Date tgl;
    private Customer customer;
    private List<TransaksiDetail> details = new ArrayList<TransaksiDetail>();
    
    
    public Transaksi(){
        
    }

    /**
     * @return the id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * @return the date
     */
    public Date getTgl() {
        return tgl;
    }

    /**
     * @param date the date to set
     */
    public void setTgl(Date tgl) {
        this.tgl = tgl;
    }

    /**
     * @return the customer
     */
    public Customer getCustomer() {
        return customer;
    }

    /**
     * @param customer the customer to set
     */
    public void setCustomer(Customer customer) {
        this.customer = customer;
    }

    /**
     * @return the details
     */
    public List<TransaksiDetail> getDetails() {
        return details;
    }

    /**
     * @param details the details to set
     */
    public void setDetails(List<TransaksiDetail> details) {
        this.details = details;
    }
    
    
}


